package com.huiqiao.sys.mapper;


import com.huiqiao.sys.domain.User;
import com.huiqiao.sys.general.GeneralDAO;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper extends GeneralDAO<User>{
    /*
     *登录
     * */

    @Select("select * from sys_user where loginname=#{loginname} and pwd=#{pwd}")
    User login(User user);

}